package com.szrt.java.day20170104.demo01;


import org.junit.Test;

/**
 * public得类名必须与文件名称相同
 * @author zsrt
 *
 */
class AA {
	
	

	
}

public class BB {
	
	 	@Test
		public void testName() throws Exception {
			
			 //自动转化8     5的字面值int 4
			 double aa = 5;
			 System.out.println("double aa = 5; aa:"+aa);
			 
			 //强制转化
			 int  bb=(int) 5.0;
			 System.out.println("int  bb=(int) 5.0; bb:"+bb);
			 
			 
			 char cc ='5';
			 System.out.println("char cc ='5'; cc:"+cc);
			 
			 //char ee = aa+cc;
			 
			 // ascii
			 char dd = 97;
			 System.out.println(dd);
			 
		}

}
